package com.xyy.saas.payment.service.impl;

import com.xyy.saas.payment.dao.mapper.BaseBankPinganMapper;
import com.xyy.saas.payment.dao.model.BaseBankPinganInfo;
import com.xyy.saas.payment.service.BaseBankPinganService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;

@Service
public class BaseBankPinganServiceImpl implements BaseBankPinganService {
    @Resource
    private BaseBankPinganMapper baseBankPinganMapper;

    /**
     * 迷糊查询
     *
     * @param bankName
     */
    @Override
    public List<BaseBankPinganInfo> queryByBankName(String bankName) {
        return baseBankPinganMapper.queryByBankName(bankName);
    }

    /**
     * 精确查询
     *
     * @param shortBankName
     */
    @Override
    public BaseBankPinganInfo queryByBankName2(String shortBankName) {
        return baseBankPinganMapper.queryByBankName2(shortBankName);
    }
}
